package com.wgh.product.mapper;

import com.wgh.product.entity.shop.ProductSkuAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * SKU属性关联Mapper接口
 * @author AI Shop
 */
@Mapper
public interface ProductSkuAttributeMapper extends BaseMapper<ProductSkuAttribute> {

    /**
     * 根据商品ID查询SKU属性关联
     * @param productId 商品ID
     * @return SKU属性关联列表
     */
    List<ProductSkuAttribute> selectByProductId(@Param("productId") Long productId);

}